package triannon.client.components;

import java.awt.Insets;

import javax.swing.Action;
import javax.swing.JButton;

@SuppressWarnings("serial")
public class TButton extends JButton {
	public TButton(String text) {
		super(text);

		init();
	}

	public TButton(Action action) {
		super(action);

		init();
	}

	private void init() {
		setMargin(new Insets(5, 5, 5, 5));
		setFocusable(false);
		setFont(getFont().deriveFont(14f));
	}
}